package features.word_counter;



import java.util.ArrayList;

import utils.LineRegex;

import dictionary.Dictionary;



public class TitleWordCounter extends WordCounter {
	
	public TitleWordCounter(Dictionary dict) {
		super(dict);
	}

	@Override
	public ArrayList<String> getAllWords(String line) {
		return LineRegex.getWords(LineRegex.getTitle(line));
	}
	
}
